package com.flow.model;

import java.util.HashSet;
import java.util.Set;


/**
 * RoleTab entity. @author MyEclipse Persistence Tools
 */

public class RoleTab  implements java.io.Serializable {


    // Fields    

     private Integer rtId;
     private String rtName;
     private Integer rtStatus;
     private String remark;
     private Set rolePermissions = new HashSet(0);
     private Set userRoles = new HashSet(0);


    // Constructors

    /** default constructor */
    public RoleTab() {
    }

	/** minimal constructor */
    public RoleTab(String rtName, Integer rtStatus) {
        this.rtName = rtName;
        this.rtStatus = rtStatus;
    }
    
    /** minimal constructor */
    public RoleTab(String rtName, Integer rtStatus, String remark) {
        this.rtName = rtName;
        this.rtStatus = rtStatus;
        this.remark = remark;
    }
    
    /** minimal constructor */
    public RoleTab(Integer rtId, String rtName, Integer rtStatus, String remark) {
    	this.rtId = rtId;
        this.rtName = rtName;
        this.rtStatus = rtStatus;
        this.remark = remark;
    }
    
    /** full constructor */
    public RoleTab(String rtName, Integer rtStatus, String remark, Set rolePermissions, Set userRoles) {
        this.rtName = rtName;
        this.rtStatus = rtStatus;
        this.remark = remark;
        this.rolePermissions = rolePermissions;
        this.userRoles = userRoles;
    }

   
    // Property accessors

    public Integer getRtId() {
        return this.rtId;
    }
    
    public void setRtId(Integer rtId) {
        this.rtId = rtId;
    }

    public String getRtName() {
        return this.rtName;
    }
    
    public void setRtName(String rtName) {
        this.rtName = rtName;
    }

    public Integer getRtStatus() {
        return this.rtStatus;
    }
    
    public void setRtStatus(Integer rtStatus) {
        this.rtStatus = rtStatus;
    }

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Set getRolePermissions() {
        return this.rolePermissions;
    }
    
    public void setRolePermissions(Set rolePermissions) {
        this.rolePermissions = rolePermissions;
    }

    public Set getUserRoles() {
        return this.userRoles;
    }
    
    public void setUserRoles(Set userRoles) {
        this.userRoles = userRoles;
    }
   








}